_action = _this select 2;
? (_action == radioon): goto "on"
goto "off";

#on
receiver removeaction radioon;
radiooff = receiver addAction["Turn radio off","radio.sqs"]
1 fadeSound 1
? (firsttime): receiver say "spirit_in_the_sky_sound"; firsttime = false;

exit

#off
receiver removeaction radiooff;
radioon = receiver addAction["Turn radio on","radio.sqs"]
1 fadeSound 0

exit
